QuickTime 3 Reference

Previous | Chapter Top | Chapter Contents | Next

Gradient Color Record

The GradientColorRecord structure specifies a color used in a gradient. For more information about gradients, see "Gradients for Path Fills" .

struct GradientColorRecord {
    ARGBColor               thisColor;
    Fixed                   endingPercentage;
};
typedef struct GradientColorRecord GradientColorRecord;
typedef GradientColorRecord *GradientColorPtr;

Field descriptions

thisColor
Specifies a color used for a gradient.
endingPercentage
Specifies the percentage of the gradient (expressed as value between 0 and 1 , where 0 is the beginning of the gradient) at which the specified color begins.

© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next